load(
    "@io_bazel_rules_go//go:def.bzl",
    "go_library",
)
load(
    "@io_bazel_rules_go//proto:def.bzl",
    "go_proto_library",
)

go_library(
    name = "go_default_library",
    embed = [":example_go_proto"],
    importpath = "go-main/net/http/blademaster/binding/example",
    visibility = ["//visibility:public"],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [":package-srcs"],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)

proto_library(
    name = "test_proto",
    srcs = ["test.proto"],
    import_prefix = "go-main/library/net/http/blademaster/binding/example",
    strip_import_prefix = "",
    tags = ["automanaged"],
)

go_proto_library(
    name = "example_go_proto",
    compilers = ["@io_bazel_rules_go//proto:go_proto"],
    importpath = "go-main/library/net/http/blademaster/binding/example",
    proto = ":test_proto",
    tags = ["automanaged"],
)
